import request from "@/utils/request";

/* 获取新闻 */
export function getTeam(teamQueryVo){
    return request({
        url: '/api/team/list',
        method: 'post',
        data: teamQueryVo
    })
}

/* 获取新闻 */
export function removeTeam(team){
    return request({
        url: '/api/team/remove',
        method: 'post',
        data: team
    })
}

/* 获取新闻 */
export function editTeam(team){
    return request({
        url: '/api/team/update',
        method: 'post',
        data: team
    })
}

/* 获取新闻 */
export function addTeam(team){
    return request({
        url: '/api/team/add',
        method: 'post',
        data: team
    })
}